home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / wais / waisgate / HTFTP.h < prev    next >
C/C++ Source or Header  |  1995-05-09  |  854b  |  47 lines

  1. /*  */
  2.  
  3. /*                      FTP access functions            HTFTP.h
  4. **                      ====================
  5. */
  6.  
  7.  
  8. #ifndef HTFTP_H
  9. #define HTFTP_H
  10.  
  11. #include "HTAnchor.h"
  12. #include "HTStream.h"
  13.  
  14. /*      Retrieve File from Server
  15. **      -------------------------
  16. **
  17. ** On exit,
  18. **      returns         Socket number for file if good.
  19. **                      <0 if bad.
  20. */
  21. extern int HTFTPLoad
  22. PARAMS
  23. ((
  24.   CONST char *          name,
  25.   HTParentAnchor *      anchor,
  26.   HTFormat              format_out,
  27.   HTStream*             sink
  28. ));
  29.  
  30. /*      Close socket opened for reading a file, and get final message
  31. **      -------------------------------------------------------------
  32. **
  33. */
  34. /*extern int HTFTP_close_file PARAMS ((int soc)); */
  35.  
  36.  
  37. /*      Return Host Name
  38. **      ----------------
  39. */
  40. extern CONST char * HTHostName
  41. NOPARAMS;
  42.  
  43. #endif
  44. /*
  45.  
  46.     */
  47.